import java.util.Scanner;

public class test {
    public static void main4(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();

        char[] ch = s.toCharArray();
        for (int i = 0; i < ch.length; i++) {
            int flag = 0;
            for (int j = 0; j < ch.length; j++) {
                if (i != j) {
                    if ((ch[i] == ch[j])) {
                        flag = 1;
                        break;
                    }
                }
            }
            if(flag == 0){
                System.out.println(i);
            }
        }
    }
}
